/* Global */
table, input, select, textarea, .maintable, .button, .altbg1, .altbg2 {
	font: {FONTSIZE} {FONT};
}
.smalltxt, .category, .percenttxt {
	font: {FONTSIZE} {SMFONT} !important;
	font: {SMFONTSIZE} {SMFONT};
}
.lighttxt {
	color: {LIGHTTEXT}
}
a {
	text-decoration: none;
	color: {LINK};
}
a:hover {
	text-decoration: underline;
}
table {
	color: {TABLETEXT};
	empty-cells: show;
	border-collapse: separate !important;
	border-collapse: collapse;
}
input, select, textarea {
	color: {TABLETEXT};
	font-weight: normal;
	background-color: {ALTBG1};
	border: 1px solid {INPUTBORDER};
}
form {
	margin: 0px;
	padding: 0px;
}
legend {
	color: {TEXT};
}
.checkbox, .radio {
	border: 0px;
	background: none;
	vertical-align: middle;
	height: 16px;
}
.subtable {
	text-align: left;
	padding: 0;
	margin: 0 auto;
}
.simpletable {
	border: {BORDERWIDTH}px solid {BORDERCOLOR};
	padding: 1px;
	background-color: {ALTBG2};
}
.simpletable .header {
	{HEADERBGCODE};
	padding-top: 7px;
	padding-bottom: 0px;
	height: 21px !important;
	height: 30px;
}
.simpletable div {
	padding: {TABLESPACE}px;
}
.absmiddle {
	vertical-align: middle;
}
.msgbody {
	width: auto !important;
	width: 100%;
}
.msgheader {
	margin: 0 1em;
	border: 1px solid {CATBORDER};
	font-weight: bold;
	background: {MSGHEADER};
	padding: 5px;
	color: {MSGHEADERTEXT};
}
.msgborder {
	margin: 0 auto 0 auto;
	padding: 10px;
	border: 1px solid {CATBORDER};
	border-top: 0px;
	word-wrap: break-word;
	background: {MSGTEXT};
	overflow: hidden;
	width: auto !important;
}

.tableborder {
	background: white;
	outline: {BORDERWIDTH}px solid {BORDERCOLOR};
	border: 0px !important;
	border: {BORDERWIDTH}px solid {BORDERCOLOR};
}
.spaceborder {
	width: 99%;
	border: {BORDERWIDTH}px solid {BORDERCOLOR};
	padding: 1px;
	clear: both;
	background-color: {ALTBG2};
}
.singleborder {
	font-size: 0px;
	line-height: {BORDERWIDTH}px;
	padding: 0px;
	background-color: {ALTBG1};
}
.button {
	padding: 0 5px;
	color: {HEADERTEXT};
	{HEADERBGCODE};
	background-repeat: repeat-x;
	background-position: 0 50%;
	outline: 1px solid {BORDERCOLOR};
	border: 1px solid #FFF !important;
	height: 19px !important;
	border: 1px solid {BORDERCOLOR};
	height: 21px;
	line-height: 17px;
}
.lightbutton {
background: #FFFFFF;
border: 1px solid #E0E0E0;
color: #154BA0;
}
.submitbutton {
	margin-top: 8px !important;
	margin-top: 6px;
	margin-bottom: 5px;
	text-align: center;
}
.postsubmit {
	border: 1px solid {CATBORDER};
	{CATBGCODE};
	text-align: center;
	padding: 10px 0px;
	margin-top: 6px;
}
.bold {
	font-weight: {BOLD};
}
.header {
	font-weight: {BOLD};
	color: {HEADERTEXT};
	{HEADERBGCODE};
	height: 18px;
	padding-left: 10px;
}
.header td {
	padding-left: 10px;
}
.header a {
	color: {HEADERTEXT};
}
.header input {
	background:none;
	vertical-align: middle;
	height: 16px;
}
.category {
	color: {CATTEXT};
	{CATBGCODE};
}
.category td {
	border-bottom: 1px solid {CATBORDER};
}
.mod	{
background: #F5FBFF;
}
.altbg1	{
	background: {ALTBG1};
}
td.altbg1 {
	border-bottom: 1px solid {BGBORDER};
}
.altbg2 {
	background: {ALTBG2};
}
td.altbg2 {
	border-bottom: 1px solid {BGBORDER};
}
.row {
	width: 99%;
	border: none;
	background: {ALTBG2};
	empty-cells: show;
}

table.row td {
padding: 5px;
font-size: 12px;
}

.row1 {
	width: 100%;
	border: none;
	background: {ALTBG1};
	empty-cells: show;
}
.row1 td {
	padding: {TABLESPACE}px;
	border-bottom: 1px solid {BGBORDER};
}
.spacebottom {
	padding-bottom: 10px;
	background: {ALTBG2};
}
.tdunderline td {
	 border-top: 1px solid {BGBORDER};
	 border-bottom: 1px solid {BGBORDER};
}
.option {
	padding: 1px;
	width: {TABLEWIDTH};
	height: 35px;
	border: 1px solid {BGBORDER};
	background-color: {ALTBG1};
}
.avatar {
	border: 1px solid {CATBORDER};
	{CATBGCODE};
	padding: 3px;
}
.avatar img {
	background: {BGCOLOR};
}
.left {
	float: left;
	text-align: left;
	padding: 0px;
}
.right {
	float: right;
	text-align: right;
	padding: 0px;
}
.line {
	border-top: 1px solid {BGBORDER};
}
.percent {
	height: 10px !important;
	height: 12px;
	border: 1px solid {BORDERCOLOR};
	float: left;
	padding: 0px;
}
.percent div {
	{HEADERBGCODE};
	background-repeat: repeat-x;
	background-position: 0 50%;
	width: 100%;
	height: 8px;
	line-height: 0px;
	font-size: 0px;
	margin: 1px;
	padding: 0px;
}
.percenttxt {
	float:left;
	padding-top: 2px !important;
	padding-top: 1px;
	font-weight: {BOLD};
}
.percenttxt u {
	text-decoration: none;
	font-weight: normal;
	color: {LIGHTTEXT};
}
.mainborder {
	clear: both;
	height: 8px;
	font-size: 0px;
	line-height: 0px;
	padding: 0px;
	background-color: {MAINBORDER};
}
.wysiwyg {
	font: {MSGFONTSIZE} {FONT};
	border: 1px #DDDDDD solid;
	padding: 4px;
	word-break: break-all;
	color: {TABLETEXT};
}
.wysiwyg a {
	text-decoration: underline;
	color: {LINK};
}
.autosave {
	behavior: url(#default#userdata);
}
#seccode {
	cursor:pointer;
	margin-bottom: 2px;
}

/* Header */
.logo {
	{BGCODE};
}
.logo div.right {
	margin: 10px 0px;
}
.mainheader {
	background-color: {ALTBG1};
	padding: 6px 0px;
}
.headermenu_popup {
	color: {MENUTEXT};
	border: 1px solid {BORDERCOLOR};
	border-top: 0px;
	margin-top: 8px !important;
}
.headermenu_popup a {
	color: {MENUTEXT};
	text-decoration: none;
}

/* Footer */
.footerline {
	height: 6px;
	border-bottom: 1px solid {BORDERCOLOR};
}
.footerline div {
	{BGCODE};
	position: relative;
	float: right;
	right: 40px;
	top: 2px;
}

/* Multi Page */
.p_bar {
	margin: 1px 0px;
	clear: both;
}
.p_bar a {
	float: left;
	padding: 1px 4px;
	font-size: 12px;
	text-decoration: none;
}
.p_input {
	border: 0px;
	padding: 0px;
	width: 40px;
	height: 17px !important;
	height: 15px;
	margin: 0px;
	background: {ALTBG2};
}
.p_total {
	background-color: {ALTBG1};
	border: 1px solid {BORDERCOLOR};
	border-right: 0px solid {BORDERCOLOR};
	font-weight: {BOLD};
}
.p_pages {
	background-color: {ALTBG1};
	border: 1px solid {BORDERCOLOR};
	margin-right:1px;
	vertical-align: middle;
	font-weight: {BOLD};
}
.p_num {
	background-color: {ALTBG2};
	border: 1px solid {CATBORDER};
	margin-right:1px;
	vertical-align: middle;
}
a:hover.p_num  {
	background-color: {ALTBG1};
	border: 1px solid {BORDERCOLOR};
	text-decoration: none;
}
.p_redirect {
	background-color: {ALTBG2};
	border: 1px solid {CATBORDER};
	margin-right:1px;
	font-size: 12px !important;
	font-size: 13px;
}
a:hover.p_redirect {
	background-color: {ALTBG1};
	border: 1px solid {BORDERCOLOR};
	text-decoration: none;
}
.p_curpage {
	margin-right:1px;
	border: 1px solid {CATBORDER};
	vertical-align: middle;
	{CATBGCODE};
	color: {CATTEXT};
	font-weight: {BOLD};
}

/* Popup Menu */
#newspecialheader_menu, #newspecialheader_menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#newspecialheader_menu a.top {
	display: block;
}

#newspecialheader_menu a.nav {
	display: block;
	padding-top: 2px;
	height: 17px;
	width: 14em;
}

#newspecialheader_menu li {
	float: left;
}

#newspecialheader_menu li ul li .sep {
	background-image: url("/d/images/way/mid.gif");
	height: 11px;
	display: block;
	width: 14em;
}

#newspecialheader_menu ul li {
	width: 100px;
	left: -999em;
	-moz-opacity: .9;
	opacity: .9;
	filter: alpha(opacity=90);
	background-color: #FFF;
	padding-top: 3px;
	padding-bottom: 3px;
	border-bottom: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	z-index: 99;
}


#newspecialheader_menu ul li a {
text-align: left;
padding: 2px 0px 2px 0px;
}

#newspecialheader_menu ul li a:hover {
text-align: left;
padding: 2px 0px 2px 0px;
background-color: #667;
color: #FFF;
background-image: url("/d/images/way/fall_navy.gif");
}

#newspecialheader_menu ul li a:active {
text-align: left;
padding: 2px 0px 2px 0px;
background-color: #333;
color: #FFF;
background-image: url("/d/images/way/fall_dark.gif");
}

.popupmenu_popup {
	-moz-opacity: .9;
	opacity: .9;
	filter: alpha(opacity=90);
	background-color: #FFF;
	padding-top: 3px;
	padding-bottom: 3px;
	border: 1px solid #CCC;
}
.popupmenu_option {
	font-size:12px;
	background: {MENUBG};
	color: {MENUTEXT};
	white-space: nowrap;
	padding: 3px 8px;
}
.popupmenu_option a {
	color: {MENUTEXT};
	padding: 3px 8px;
	text-decoration: none;
}
.popupmenu_highlight {
	background: {MENUHLBG};
	color: {MENUHLTEXT};
	white-space: nowrap;
	padding: 3px 8px;
	cursor: pointer;
}
.popupmenu_highlight a {
	background-image: url("/d/images/way/fall_navy.gif");
	color: #000;
	padding: 3px 8px;
	text-decoration: none;
}

/* Popup Calendar */
.calendar_expire, .calendar_expire a:link, .calendar_expire a:visited {
	color: {CALENDAREXPIRE};
}
.calendar_default, .calendar_default a:link, .calendar_default a:visited {
	color: {CALENDARTEXT};
}
.calendar_checked, .calendar_checked a:link, .calendar_checked a:visited {
	color: {CALENDARCHECKED};
}
.calendar_today, .calendar_today a:link, .calendar_today a:visited {
	color: {CALENDARTODAY};
}
.calendar_header td{
	width: 30px;
	height: 20px;
}
#calendar_year {
	display: none;
	line-height: 130%;
	background: {ALTBG2};
	position: absolute;
	z-index: 10;
}
#calendar_year .col {
	float: left;
	background: {ALTBG2};
	margin-left: 1px;
	border: 1px solid {BORDERCOLOR};
	padding: 4px;
}
#calendar_month {
	display: none;
	background: {ALTBG2};
	line-height: 130%;
	border: 1px solid {BORDERCOLOR};
	padding: 4px;
	position: absolute;
	z-index: 11;
}

/* Index */
.todayposts {
	color: {LINK};
}

/* New Special Menu */
.newspecial {
	text-align: center;
	font-size: 14px;
	font-weight: {BOLD};
}
.newspecialmenu {
	width: 86px !important;
	width: 88px;
}

/* Forumdisplay */
.f_folder {
	width: 3%;
	text-align: center;
}
.f_icon {
	width: 25px;
	text-align: center;
}
.f_title {
	width: 55%;
	word-break: break-all;
	padding-right: 10px;
}
.f_title span {
	color: {LIGHTTEXT};
}
.subject a, .f_title a {
	color: {TABLETEXT};
}
.f_author {
	width: 15%;
	text-align:left;
}
.f_views {
	width: 8%;
	text-align: center
}
.f_last	{
	width: 10%;
	text-align: left;
}

/* Viewthread */
.t_row {
	margin-top: -1px;
}
.t_user	{
	word-break: break-all;
	padding-left: 8px;
	background: {ALTBG1};
}
.t_msg {
	table-layout: fixed;
	word-wrap: break-word;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: {ALTBG2}
}
.t_msg p {
	margin: 0px;
}
.t_msg td {
	padding: 2px 10px;
}
.t_signature {
	height: expression(signature(this));
}
.t_number {
	border: 1px solid {CATBORDER};
	padding: 2px;
	margin: 1px;
	background: {POSTNOTICEBG};
}
.t_infoline {
	background: {POSTNOTICEBG};
}
.t_table {
	border-left: 1px solid {BORDERCOLOR};
	border-top: 1px solid {BORDERCOLOR};
	border-spacing: 0px;
}
.t_table td {
	padding: 4px;
	border-bottom: 1px solid {BORDERCOLOR};
	border-right: 1px solid {BORDERCOLOR};
}
.t_attach {
	width: 350px;
	background: {ALTBG2};
	border: 1px solid {BORDERCOLOR};
	padding: 4px;
}
.t_attachlist {
	padding: 5px;
	border-bottom: 1px solid {CATBORDER};
}
.t_msgfont, .t_msgfont table {
	font-size: {MSGFONTSIZE};
}
.t_smallfont, .t_smallfont table {
	font-size: {MSGSMALLSIZE};
}
.t_bigfont, .t_bigfont table {
	font-size: {MSGBIGSIZE};
}

/* Frame */
.leftmenu br {
	line-height: 5px;
}
.leftmenu {
	line-height: 18px;
}

.ch_font{
font: 11px Arial, Tahoma, PMingLiU
}